package com.wing.sell.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.common.utils.JsonResult;
import com.wing.sell.model.entity.OrderReviewProcessCompany;
import com.wing.sell.model.request.OrderReviewProcessCompanyForm;
import com.wing.sell.model.response.OrderReviewProcessCompanyVO;

import java.util.List;
import java.util.Map;

/**
 * 订单评审环节公司-Service
 *
 * @author
 */
public interface OrderReviewProcessCompanyService extends IService<OrderReviewProcessCompany> {

    /**
     * 添加
     *
     * @param orderReviewProcessCompanyForm
     * @return
     */
    int add(OrderReviewProcessCompanyForm orderReviewProcessCompanyForm);

    /**
     * 列表-app
     *
     * @param params
     *
     * @return
     */
    List<OrderReviewProcessCompanyVO> list4app(Map<String, Object> params);

    /**
     * 分页list-app
     *
     * @param page
     * @param params
     *
     * @return
     */
    Page<OrderReviewProcessCompanyVO> pageList4app(Page page, Map<String, Object> params);

    /**
     * 详情-app
     *
     * @param id
     *
     * @return
     */
    OrderReviewProcessCompanyVO get4appById(Long id);

    /**
     * 获取岗位角色数据
     * @param processId
     * @return
     */
    JsonResult getRoleData(Long processId);
}
